package com.rabbit.eap.framework.config.convert;

import com.rabbit.eap.framework.config.util.StringToDoubleUtil;
import org.springframework.core.convert.converter.Converter;

/**
 * @projectName eap
 * @packageName com.rabbit.eap.framework.config.convert
 * @className StringToDoubleConverter
 * @author： rabbit
 * @version： 1.0
 * @since： 2020/4/27 20:49
 * <p>Description: StringToDoubleConverter </p>

 */
public class StringToDoubleConverter implements Converter<String, Double> {

    @Override
    public Double convert(String source) {
        return StringToDoubleUtil.convert(source);
    }
}
